/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpb.projetoesa.dados;

import br.ufpb.projetoesa.exceptions.DisciplinaInexistenteException;
import br.ufpb.projetoesa.exceptions.DisciplinaInvalidaException;
import br.ufpb.projetoesa.negocio.Disciplina;

/**
 *
 * @author leonardo
 */
public interface  DisciplinaDAO {
    
    public boolean inserir(Disciplina disc) throws DisciplinaInvalidaException ;

    public boolean remover(Disciplina disc) throws DisciplinaInexistenteException;
    
    public Disciplina pesquisarID(String id) throws DisciplinaInexistenteException;
    
    public Disciplina pesquisar(String nome) throws DisciplinaInexistenteException ;

    public boolean atualizar(Disciplina disc)throws DisciplinaInexistenteException;
    
}
